* {
  padding: 0;
  margin: 0;
}

.bg {
  position: fixed;
  background-color: #333;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/login-bg.png);
  background-position: 50% 0%;
  background-repeat: no-repeat;
  z-index: -1;
  top: 0;
  left: 0;
}

.bg .header {
  width: 1200px;
  margin: 30px auto 0;
}

.bg .header img {
  width: 203px;
}

.bg .login-box {
  position: absolute;
  left: 62%;
  width: 400px;
  height: 431px;
  top: 150px;
  box-sizing: border-box;
  padding: 20px 45px;
  background-color: #fff;
  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  z-index: 200;
}

.bg .login-box .tabs {
  cursor: pointer;
  display: flex;
  width: 310px;
  margin-bottom: 20px;
}

.bg .login-box .tabs .active {
  color: #ff4c2f !important;
}

.bg .login-box .tabs .tab1 {
  width: 135px;
  height: 40px;
  line-height: 40px;
  margin-right: 20px;
  font-size: 14px;
  color: #303133;
  text-align: center;
}

.bg .login-box .tabs .tab2 {
  width: 135px;
  height: 40px;
  line-height: 40px;
  margin-left: 20px;
  font-size: 14px;
  color: #303133;
  text-align: center;
}

.bg .login-box .tabs::after {
  content: "";
  position: absolute;
  left: 45px;
  top: 60px;
  width: 310px;
  height: 2px;
  background-color: #e4e7ed;
  z-index: 1;
}

.bg .login-box .tabs .line {
  position: absolute;
  background-color: #ff4c2f;
  width: 135px;
  height: 2px;
  left: 45px;
  top: 60px;
  z-index: 25;
  transition: all .8s;
}

.bg .login-box .err {
  font-size: 14px;
  color: #ff0000;
  height: 16px;
  margin-bottom: 4px;
}

.bg .login-box .form .account, .bg .login-box .form .psw, .bg .login-box .form .code {
  color: #606266;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  outline: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  margin-bottom: 22px;
}

.bg .login-box .form .account::placeholder, .bg .login-box .form .psw::placeholder, .bg .login-box .form .code::placeholder {
  color: #ccc;
  font-size: 14px;
}

.bg .login-box .form .account:focus, .bg .login-box .form .psw:focus, .bg .login-box .form .code:focus {
  border-color: #f56c6c;
}

.bg .login-box .form .verify {
  display: flex;
  justify-content: space-between;
}

.bg .login-box .form .verify .code {
  width: 200px;
  margin-bottom: 10px;
}

.bg .login-box .form .verify img {
  width: 100px;
  height: 35px;
}

.bg .login-box .form .txt {
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.bg .login-box .form .txt span {
  cursor: pointer;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
  font-size: 12px;
  color: #ff4c2f;
}

.bg .login-box .form .txt span .inner {
  margin-right: 10px;
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background-color: #fff;
  z-index: 1;
}

.bg .login-box .form .txt span .inner::after {
  -webkit-transform: rotate(45deg) scaleY(1);
  transform: rotate(45deg) scaleY(1);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  width: 3px;
  -webkit-transition: -webkit-transform .15s ease-in .05s;
  transition: -webkit-transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.bg .login-box .form button {
  width: 100%;
  height: 34px;
  padding: 10px 20px;
  box-sizing: border-box;
  line-height: 14px;
  text-align: center;
  color: #fff;
  border: none;
  background-color: #ff4c2f;
  border-radius: 4px;
}

.bg .login-box .form .rem {
  display: flex;
  justify-content: space-between;
  height: 19px;
  line-height: 19px;
  margin-top: 10px;
  font-size: 13px;
  color: #999;
}

.bg .login-box .form .rem span {
  cursor: pointer;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
  font-size: 12px;
  color: #ff4c2f;
}

.bg .login-box .form .rem span .inner1 {
  margin-right: 10px;
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background-color: #fff;
  z-index: 1;
}

.bg .login-box .form .rem span .inner1::after {
  -webkit-transform: rotate(45deg) scaleY(1);
  transform: rotate(45deg) scaleY(1);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  width: 3px;
  -webkit-transition: -webkit-transform .15s ease-in .05s;
  transition: -webkit-transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.bg .login-box .form .btns {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.bg .login-box .form .btns img {
  width: 40px;
  height: 40px;
}

.bg .login-box .register {
  display: none;
}

.bg .login-box .register .regaccount, .bg .login-box .register .regpsw, .bg .login-box .register .code {
  color: #606266;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  outline: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  margin-bottom: 22px;
}

.bg .login-box .register .regaccount::placeholder, .bg .login-box .register .regpsw::placeholder, .bg .login-box .register .code::placeholder {
  color: #ccc;
  font-size: 14px;
}

.bg .login-box .register .regaccount:focus, .bg .login-box .register .regpsw:focus, .bg .login-box .register .code:focus {
  border-color: #f56c6c;
}

.bg .login-box .register .regverify {
  display: flex;
  justify-content: space-between;
}

.bg .login-box .register .regverify .code {
  width: 200px;
  margin-bottom: 10px;
}

.bg .login-box .register .regverify .img {
  width: 100px;
  height: 35px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
  border: 1px solid #c0c4cc;
  cursor: pointer;
  border-radius: 4px;
}

.bg .login-box .register .regverify .img:hover {
  color: #ff0000;
  border-color: #ff0000;
}

.bg .login-box .register .txt {
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.bg .login-box .register .txt span {
  cursor: pointer;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
  font-size: 12px;
  color: #ff4c2f;
}

.bg .login-box .register .txt span .reginner {
  margin-right: 10px;
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background-color: #fff;
  z-index: 1;
}

.bg .login-box .register .txt span .reginner::after {
  -webkit-transform: rotate(45deg) scaleY(1);
  transform: rotate(45deg) scaleY(1);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  width: 3px;
  -webkit-transition: -webkit-transform .15s ease-in .05s;
  transition: -webkit-transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.bg .login-box .register button {
  width: 100%;
  height: 34px;
  padding: 10px 20px;
  box-sizing: border-box;
  line-height: 14px;
  text-align: center;
  color: #fff;
  border: none;
  background-color: #ff4c2f;
  border-radius: 4px;
}

.bg .login-box .register .rem {
  display: flex;
  justify-content: space-between;
  height: 19px;
  line-height: 19px;
  margin-top: 10px;
  font-size: 13px;
  color: #999;
}

.bg .login-box .register .rem span {
  cursor: pointer;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
  font-size: 12px;
  color: #ff4c2f;
}

.bg .login-box .register .rem span .reginner1 {
  margin-right: 10px;
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background-color: #fff;
  z-index: 1;
}

.bg .login-box .register .rem span .reginner1::after {
  -webkit-transform: rotate(45deg) scaleY(1);
  transform: rotate(45deg) scaleY(1);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: "";
  border: 1px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  width: 3px;
  -webkit-transition: -webkit-transform .15s ease-in .05s;
  transition: -webkit-transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.bg .login-box .register .btns {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.bg .login-box .register .btns img {
  width: 40px;
  height: 40px;
}
